<div class="fields">
    <%= f.text_field :color_name %>
    <%= f.hidden_field :_destroy %>
    <%= link_to_function (image_tag "delete-icon.png"), "remove_fields(this)", :class => "remove_condition_field" %>
</div>